cmake_minimum_required (VERSION 3.10)
set (CMAKE_SKIP_BUILD_RPATH TRUE)
set (LIBRARY_NAME "tracker")

project (${LIBRARY_NAME})

set (CPP_SOURCES
    tracker.cpp)

include_directories(${PROJECT_BINARY_DIR})

add_compile_options(-O0 -g -W -Wall)
add_link_options(-ldl -pthread)
add_library(${LIBRARY_NAME} SHARED ${CPP_SOURCES})
add_executable("decode" decoder.cpp)

configure_file(tracker.h.in ${PROJECT_BINARY_DIR}/tracker.h)

